package com.czh.springboot04.service;

import com.czh.springboot04.entity.HeartKnowledge;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface HeartKnowledgeService {
    int addHeartKnowledge(HeartKnowledge heartKnowledge);
    int deleteHeartKnowledge(int id);
    int updateHeartKnowledge(HeartKnowledge heartKnowledge);
    PageInfo<HeartKnowledge> findAll(int pageNum, int pageSize);
    PageInfo<HeartKnowledge> findByName(int pageNum, int pageSize,String name);
}
